package com.yishop.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.io.Serializable;
public class Dept implements Serializable {
    private Long deptno;
    private  String dname;
    //这个数据灿在那个数据库的 微服务 一个服务对应一个数据库
    private String db_source;

    public Dept(String dname) {
        this.dname = dname;
    }

    public Dept() {

    }

    public Long getDeptno() {
        return deptno;
    }

    public void setDeptno(Long deptno) {
        this.deptno = deptno;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getDb_source() {
        return db_source;
    }

    public void setDb_source(String db_source) {
        this.db_source = db_source;
    }


/**
     *
     */
}
